package cn.bdqn.pn.reposity.base;

import cn.bdqn.pn.pojo.base.Question;
import org.omg.CORBA.INTERNAL;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

/**
 * 问题反馈
 */
public interface QuestionRepository extends JpaRepository<Question,Integer>, JpaSpecificationExecutor<Question> {

/*    *//**
     * 查询问题总数
     * @return
     *//*
    @Query(value = "SELECT COUNT(1) FROM question WHERE questionreplyTypeId?1",nativeQuery = true)
    Integer findQuestionByQuestionreplytypeid(Integer questionReplyTypeId);*/
}
